<!--@Knockout-->
<div data-bind="dxButton: { onClick: togglePopup, text: 'Show popup' }"></div>
<div data-bind="dxPopup: {
    height: 200,
    title: 'My Popup',
    visible: visible,
    animation: animationConfig
}">
    <div data-options="dxTemplate: { name: 'content' }">
        <p>The popup text.</p>
        <div data-bind="dxButton: { text: 'Hide popup', onClick: togglePopup }"></div>
    </div>
</div>
<div class="dx-fieldset">
    <div class="dx-field">
        <div class="dx-field-label">Animation type</div>
        <div class="dx-field-value" data-bind="dxSelectBox: {
            items: animationTypes,
            value: 'pop',
            onValueChanged: adjustAnimation
        }"></div>
    </div>
</div>
<!--/@Knockout-->
<!--@AngularJS-->
<div ng-controller="demoController" style="height: 100%;">
    <div dx-button="{ onClick: togglePopup, text: 'Show popup' }"></div>
    <div dx-popup="{
        height: 200,
        title: 'My Popup',
        bindingOptions: {
            visible: 'visible',
            animation: { deep: false, dataPath: 'animationConfig' }
        }
    }">
        <div data-options="dxTemplate: { name: 'content' }">
            <p>The popup text.</p>
            <div dx-button="{ text: 'Hide popup', onClick: togglePopup }"></div>
        </div>
    </div>
    <div class="dx-fieldset">
        <div class="dx-field">
            <div class="dx-field-label">Animation type</div>
            <div class="dx-field-value" dx-select-box="{
                items: animationTypes,
                value: 'pop',
                onValueChanged: adjustAnimation
            }"></div>
        </div>
    </div>
</div>
<!--/@AngularJS-->
<!--@jQuery-->
<div id="toggleButton"></div>
<div id="myPopup"></div>
<div class="dx-fieldset">
    <div class="dx-field">
        <div class="dx-field-label">Animation type</div>
        <div class="dx-field-value" id="animationSelector"></div>
    </div>
</div>
<!--/@jQuery-->